#include <stdio.h>
#define M 8
int main()
{
	unsigned int ret  = 0x12345678;
	unsigned char *pr =(unsigned char)&ret;
	int i=0;
	int num = 1;
	int temp = 0;
	for(i=0;i<M;++i)
	{
		temp += *(pr +i);
	}
	printf("%d\n",temp);



	return 0;
}
